
//自动生成
using Framework;
using UnityEngine;
using UnityEngine.UI;
public partial class MenuUI
{
	private UnityEngine.UI.Button act2_Button;
	private UnityEngine.UI.Button act3_Button;
	private UnityEngine.UI.Button open_Button;
	private UnityEngine.UI.Button unload_Button;

    protected override void InjectFields(GameObjectFields value)
    {
		this.act2_Button = (UnityEngine.UI.Button)value.FieldItems[0].Value;
		this.act3_Button = (UnityEngine.UI.Button)value.FieldItems[1].Value;
		this.open_Button = (UnityEngine.UI.Button)value.FieldItems[2].Value;
		this.unload_Button = (UnityEngine.UI.Button)value.FieldItems[3].Value;
		this.act2_Button.onClick.AddListener(() => { this.OnButtonClick(this.act2_Button); });
		this.act3_Button.onClick.AddListener(() => { this.OnButtonClick(this.act3_Button); });
		this.open_Button.onClick.AddListener(() => { this.OnButtonClick(this.open_Button); });
		this.unload_Button.onClick.AddListener(() => { this.OnButtonClick(this.unload_Button); });

    }
}
